Upload Test Results
PATCH /api/v1/trade-tracking-pipeline/sampling/upload-test-results
Description
Upload test results for a trade-tracking pipeline sampling.
Path Parameters
| Name | Type | Description |
|---|---|---|
| None | No parameters |
Request Headers
| Name | Type | Description |
|---|---|---|
tenantId | string | The tenant ID (header) |
userId | string | The user ID (header) |
countryCode | string | The country code (header) |
Request Body
- Content Type:
application/json
{
"trade": "string",
"processFlow": "string",
"amount": 0,
"proofOfPayment": "string",
"testResult": "string",
"status": true,
"dateTimeStamp": "2024-07-13T00:53:41.817Z",
"userId": "string",
"tenantId": "string",
"countryCode": "string"
}
Response Code: 200 - OK
Description
The request was successful.
Example
{
"status": true,
"message": "Test results uploaded successfully"
}
Headers
| Content-Type | Value |
|---|---|
| apiKey | {{apiKey}} |
| tenantId | string |
| userId | string |
| countryCode | string |
Body
{
"trade": "sampleTrade",
"processFlow": "sampleProcessFlow",
"amount": 1000,
"proofOfPayment": "sampleProof",
"testResult": "sampleResult",
"status": true,
"dateTimeStamp": "2024-07-13T00:53:41.817Z",
"userId": "usr789",
"tenantId": "ten456",
"countryCode": "US"
}
🔑 Authentication bearer
| Param | Value | Type |
|---|---|---|
| token | {{accessCode}} | string |
LANGUAGE
CURL REQUEST
curl --request PATCH \
--url /api/v1/trade-tracking-pipeline/sampling/upload-test-results \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!